﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Weazel.Willows.Model
{
	public class Transition
	{
		protected string targetStateName;
		public string TargetStateName
		{
			get { return targetStateName; }
		}

		protected Weazel.Gezel.Model.Expression condition;
		public Weazel.Gezel.Model.Expression Condition
		{
			get { return condition; }
		}

		protected List<string> executionSet;
		public List<string> ExecutionSet
		{
			get { return executionSet; }
		}

		public bool IsConditional
		{
			get { return condition != null; }
		}

		public Transition()
		{
			this.executionSet = new List<string>();
		}
	}
}
